function ajax_dashboard_admin_node_add($type) {
ctools_include('modal');
ctools_include('ajax');
module_load_include('inc', 'node', 'node.pages');
$form_state = array(
'title' => t('Node'),
'ajax' => TRUE,
);
$node = (object) array(
'uid' => $user->uid,
'name' => (isset($user->name) ? $user->name : ''),
'type' => 'announcement',
'language' => LANGUAGE_NONE);
$form_state['build_info']['args'] = array($node);
$output = ctools_modal_form_wrapper('announcement_node_form', $form_state);
print ajax_render($output); exit;
}