anchor.diff:      "var size = $.trim($(\"#create_space_size\").val());",
       "if(name.length == 0) { alert.html(\"Please provide Space name.\"); alert.fadeIn(300); return false; }",
       "else if(token.length == 0) { alert.html(\"Please provide Space token.\"); alert.fadeIn(300); return false; }",
  -    "else if(size.length == 0) { alert.html(\"Please provide Space size.\"); alert.fadeIn(300); return false; }",
  -    "else if(isNaN(size) || parseInt(size, 10) <= 0) { alert.html(\"Space size should be a positive number.\"); alert.fadeIn(300); return false; }",
  +    (space_size_check())/binary,
       "else { createSpace([name, token]); return true; }">>,
       ConfirmButtonClass = <<"btn-inverse">>,
       gui_jq:dialog_popup(Title, Message, Script, ConfirmButtonClass),
  -    gui_jq:wire(<<"box.on('shown',function(){ $(\"#create_space_name\").focus(); });">>);
  +    gui_jq:wire(<<"box.on('shown',function(){ $(\"#create_space_name\").focus(); });">>),
  +    initialize_radio_buttons();
   
   event(support_space) ->
       Title = <<"Support Space">>,
       Message = <<"<div style=\"margin: 0 auto; width: 80%;\">",
       "<p id=\"support_space_alert\" style=\"width: 100%; color: red; font-size: medium; text-align: center; display: none;\"></p>",
       "<input id=\"support_space_token\" type=\"text\" style=\"width: 100%;\" placeholder=\"Token\">",
  +    (space_size_parameter())/binary,
       "</div>">>,
       Script = <<"var alert = $(\"#support_space_alert\");",
       "var token = $.trim($(\"#support_space_token\").val());",
  +    "var size = $.trim($(\"#create_space_size\").val());",
       "if(token.length == 0) { alert.html(\"Please provide Space token.\"); alert.fadeIn(300); return false; }",
  +    (space_size_check())/binary,
       "else { supportSpace([token]); return true; }">>,
       ConfirmButtonClass = <<"btn-inverse">>,
       gui_jq:dialog_popup(Title, Message, Script, ConfirmButtonClass),
  -    gui_jq:wire(<<"box.on('shown',function(){ $(\"#support_space_token\").focus(); });">>);
  +    gui_jq:wire(<<"box.on('shown',function(){ $(\"#support_space_token\").focus(); });">>),
  +    initialize_radio_buttons();
   
   event({revoke_space_support, RowId, #space_details{id = SpaceId}}) ->
       Title = <<"Revoke Space support">>,
  
positive.code:         }
      ].
  
  %% add_space_row/2
  %% ====================================================================
  %% @doc Adds collapsed Space settings row to Spaces settings table.
  
negative.code:     "<p id=\"create_space_alert\" style=\"width: 100%; color: red; font-size: medium; text-align: center; display: none;\"></p>",
      "<input id=\"create_space_name\" type=\"text\" style=\"width: 100%;\" placeholder=\"Name\">",
      "<input id=\"create_space_token\" type=\"text\" style=\"width: 100%;\" placeholder=\"Token\">",
      (space_size_parameter())/binary,
      "</div>">>,
      Script = <<"var alert = $(\"#create_space_alert\");",
      "var name = $.trim($(\"#create_space_name\").val());",
  